ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

SVG Viewer

Sublime Text 3 plugin for viewing SVG files as pictures

Labels svg, view, image

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 948
  • Linux 480
Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22
Windows 0 1 1 1 1 0 0 0 3 0 1 0 0 0 3 0 2 1 0 2 0 0 1 2 1 0 0 0 0 1 0 0 0 0 0 4 0 1 0 0 0 1 0 0 0 1
Mac 0 0 1 0 1 0 0 2 0 0 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 2 0 1 1 0 1
Linux 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 1 0 0 2 0 0 3 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 2 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

SVG Viewer

About

SVG Viewer is Sublime Text 3 plugin for viewing SVG files as pictures.
It is an improved version of the original SVG Preview

Installation

Plugin
  1. Make sure you already have Package Control installed
  2. Open command pallete by pressing Ctrl+Shift+P
  3. Choose “Package Control: Install Package” and then press Enter
  4. Select “SVG Viewer” and press Enter
Converter

After installing plugin, you can use it only in online mode.
If you want use plugin in offline mode you should install SVG to PNG converter
By default we support these converters:

But you can add another converter

Using

  1. Open SVG file
  2. Open command pallete and select “SVG Viewer: View SVG
  3. (if fisrt run) Choose SVG converter from the suggested converters
  4. Profit!

Settings

If you want edit settings, key bindings or converters, do:
Preferences → Package Settings → Settings / Key Bindings / Converters - Edit

Adding converter

If you want to use another SVG to PNG converter, do:

  1. Generate command and name of your converter, such as this
{
    "converter": "converter --input-file \"{name}\" --output-file \"{out}\" --dpi {dpi}"
}
  1. Open converters.json file (Preferences → Package Settings → Converters - Edit) and add this string
  2. Reopen Sublime Text, open command pallete, choose “SVG Viewer: Change Converter” and choose your converter
  3. Profit!